package com.ruoyi.supplier.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购单费用结算对象 purchase_amount
 *
 * @author ruoyi
 * @date 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("purchase_amount")
public class PurchaseAmount extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "purchase_amount_id",type = IdType.AUTO)
    private Integer purchaseAmountId;
    /**
     * 供应商商户ID
     */
    private Long merchantId;
    /**
     * 供应商id
     */
    private Integer supplierId;
    /**
     * 结算状态
     */
    private Integer status;
    /**
     * 费用金额
     */
    private BigDecimal shouldAmount;
    /**
     * 结算金额
     */
    private BigDecimal actualAmount;
    /**
     * 结算年月
     */
    private Integer accountantId;
    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;

}
